package com.sqoop.core.msg;

/**
 * Created by zw on 2017/11/15.
 */
public class Global {

    private static Global global = new Global();
    private  String url = "";
    private  String queuename = "";
    private  String queuetype = "";

    Global(){
        init();
    }

    public static Global getInstance(){
        return global;
    }

    private void init() {
        url="failover:(tcp://192.168.130.192:61616,tcp://192.168.120.158:61616)";
        queuename="SqoopRequest";
        queuetype="queue";
    }


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getQueuename() {
        return queuename;
    }

    public void setQueuename(String queuename) {
        this.queuename = queuename;
    }

    public String getQueuetype() {
        return queuetype;
    }

    public void setQueuetype(String queuetype) {
        this.queuetype = queuetype;
    }
}